home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
63142
/
63142.xpi
/
older
/
tkp40.xpi
/
chrome
/
content
/
ff-overlay.js
< prev
next >
Wrap
Text File
|
2010-01-24
|
716b
|
16 lines
ketkpin.onFirefoxLoad = function(event) {
document.getElementById("contentAreaContextMenu")
.addEventListener("popupshowing", function (e){ ketkpin.showFirefoxContextMenu(e); }, false);
};
ketkpin.showFirefoxContextMenu = function(event) {
// show or hide the menuitem based on what the context menu is on
document.getElementById("context-ketkpin").hidden = gContextMenu.onLink;
document.getElementById("context-ketkpin2").hidden = gContextMenu.onLink;
document.getElementById("context-ketkpin3").hidden = !gContextMenu.onLink;
document.getElementById("context-ketkpin4").hidden = !gContextMenu.onLink;
};
window.addEventListener("load", ketkpin.onFirefoxLoad, false);